package com.cskaoyan.exception_handler;

import org.springframework.http.converter.HttpMessageNotReadableException;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * xdx
 * 2020/12/11
 * 10:38
 * TODO MysqlDataTruncation 无法捕捉？
 */
@ControllerAdvice
public class MySqlExceptionHandler {
//    @ExceptionHandler(value = MysqlDataTruncation.class)
//    @ResponseBody
}
